home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part1 / 2367 < prev    next >
Encoding:
Internet Message Format  |  1996-08-06  |  1.6 KB

  1. Path: in1.uu.net!tandem!usenet
  2. From: Anatoli Mandelchtam <tolik@tarley_pc.loc201.tandem.com>
  3. Newsgroups: comp.lang.c++
  4. Subject: Re: VC++ 32bit dos program
  5. Date: Tue, 16 Jan 1996 21:14:35 -0800
  6. Organization: Tandem Computers Inc., Cupertino, CA
  7. Message-ID: <30FC85BB.2B0F@tarley_pc.loc201.tandem.com>
  8. References: <30FB0B18.7D86@public.sta.net.cn> <DL88r1.Jrv@news.zippo.com>
  9. NNTP-Posting-Host: miket_home1.fnord.tandem.com
  10. Mime-Version: 1.0
  11. Content-Type: text/plain; charset=us-ascii
  12. Content-Transfer-Encoding: 7bit
  13. X-Mailer: Mozilla 2.0b5 (Win95; I)
  14.  
  15. Wang TianXing wrote:
  16. .> 
  17. .> Frank Xu <jafd@public.sta.net.cn> wrote:
  18. .> 
  19. .> | Hi everyone,
  20. .> 
  21. .> |    I ever heard that Visual C++ can write 32bit dos program,
  22. .> | is it true?
  23. .> |    if it is true, which version?
  24. .> With VC++ 2.0, you can write Win32 apps running on WinNT/95's DOS box.
  25. .> I don't know if these apps can run standalonely.
  26.  
  27. Actually, what you call a "DOS box" is a console.  The difference is in the fact
  28. that it allows you to start any apps supported by the OS.  How particular apps
  29. will be supported (as a native app., through the VDM or WOW, etc.) by the OS
  30. is another question.
  31.  
  32. VC++ can't compile DOS applications.  Neither 16-bit, nor 32-bit.  What it can
  33. compile is a 32-bit Win95 or WinNT console app., which in its basic form can 
  34. closely resemble your average DOS application (no 'fancy' stuff like writing 
  35. directly to a video memory will work though).  In addition all the gadgets of 
  36. your OS like calls to Win32 API, sockets, multithreading, etc. are supported.
  37. Console application will _not_ work under any version of DOS.
  38.  
  39. Regards,
  40.  
  41. Anatoli.
  42.  
  43.  
  44.